﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace GZNest.Web.Areas.Spin
{
    public class SpinAreaRegistration: AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Spin";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
            "Spin_default",
            "Spin/{controller}/{action}/{id}",
            new {controller ="Machine", action = "Index", id = UrlParameter.Optional }
            );
        }

    }
}